﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.SystemCore.DTO.MenuBotton;

/// <summary>
///     菜单按钮表模型 - 新增
/// </summary>
public class MenuButtonAddDTO
{
    /// <summary>
    ///     菜单id
    /// </summary>
    [Required(ErrorMessage = "菜单id不可为空")]
    public string MenuId { get; set; }

    /// <summary>
    ///     按钮key
    /// </summary>
    [Required(ErrorMessage = "按钮Key不可为空")]
    public string Key { get; set; }

    /// <summary>
    ///     按钮名称
    /// </summary>
    [Required(ErrorMessage = "按钮名称不可为空")]
    public string Name { get; set; }

    /// <summary>
    ///     按钮备注
    /// </summary>
    [Required(ErrorMessage = "按钮备注不可为空")]
    public string? Remark { get; set; }
}